﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpShare.Afp.Protocol {
    public interface IAfpUser {
        string Name { get; }
        Guid Id { get; }
        Guid PrimaryGroup { get; }
        bool IsInGroup(Guid groupId);

        bool Authenticate(string password);

        bool CanChangePassword { get; }
        bool ChangePassword(string newPassword);
    }
}
